/* CPP Assignemnt 3 (COSC1152-2011-S2)
 * Elliott O'Dea-Joyce s3074110@student.rmit.edu.au
 * Ross Nye s9455459@student.rmit.edu.au
 *
 * This code written by Jesse Archer
 */


#ifndef TRI_H
#define TRI_H

#include <utility>
#include <vector>

typedef std::pair<int, int> E;
typedef std::pair<float, float> P;

// Computes a delaunay triangulation for a given vector of points. Vector of edges is populated
// with edges from the triangulation, with their corresponding edge weights placed in the
// weights vector
void triangulate(std::vector<P> &points, std::vector<E> &edges, std::vector<float> &weights);

#endif
